package edu.scau.misp.backend_module.service;

import edu.scau.misp.backend_module.domain.Order;

import java.util.List;

public interface OrderService {
    public Order getOrderById(Long orderId);

    public List<Order> listAllOrder();

    public List<Order> selectOrderList(Order order);


    public int insertOrder(Order order);

    public int updateOrder(Order order);
    public int updateOrderByPay(Order order);


    public int deleteOrderById(Long orderId);
    public Long getId();

}
